Note expression type object representing a custom range. More...
#include <vstnoteexpressiontypes.h>
Public Member Functions | |
RangeNoteExpressionType (NoteExpressionTypeID typeId, const TChar *title, const TChar *shortTitle, const TChar *units, int32 unitId, NoteExpressionValue defaultPlainValue, NoteExpressionValue plainMin, NoteExpressionValue plainMax, int32 flags=0, int32 precision=4) | |
virtual ParamValue | getMin () const |
Gets the minimum plain value. | |
virtual void | setMin (ParamValue value) |
Sets the minimum plain value. | |
virtual ParamValue | getMax () const |
Gets the maximum plain value. | |
virtual void | setMax (ParamValue value) |
Sets the maximum plain value. | |
virtual tresult | getStringByValue (NoteExpressionValue valueNormalized, String128 string) |
virtual tresult | getValueByString (const TChar *string, NoteExpressionValue &valueNormalized) |
Data Fields | |
OBJ_METHODS(RangeNoteExpressionType, NoteExpressionType) protected NoteExpressionValue | plainMax |
Note expression type object representing a custom range.
RangeNoteExpressionType | ( | NoteExpressionTypeID | typeId, | |
const TChar * | title, | |||
const TChar * | shortTitle, | |||
const TChar * | units, | |||
int32 | unitId, | |||
NoteExpressionValue | defaultPlainValue, | |||
NoteExpressionValue | plainMin, | |||
NoteExpressionValue | plainMax, | |||
int32 | flags = 0 , |
|||
int32 | precision = 4 | |||
) |
virtual ParamValue getMin | ( | ) | const [inline, virtual] |
Gets the minimum plain value.
virtual void setMin | ( | ParamValue | value | ) | [inline, virtual] |
Sets the minimum plain value.
virtual ParamValue getMax | ( | ) | const [inline, virtual] |
Gets the maximum plain value.
virtual void setMax | ( | ParamValue | value | ) | [inline, virtual] |
Sets the maximum plain value.
tresult getStringByValue | ( | NoteExpressionValue | valueNormalized, | |
String128 | string | |||
) | [virtual] |
Reimplemented from NoteExpressionType.
tresult getValueByString | ( | const TChar * | string, | |
NoteExpressionValue & | valueNormalized | |||
) | [virtual] |
Reimplemented from NoteExpressionType.
OBJ_METHODS (RangeNoteExpressionType, NoteExpressionType) protected NoteExpressionValue plainMax |